package cn.liye.pingfen.pojo.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class User {
    /**  主键id*/
    private Long id;
    /**  账号*/
    private String username;
    /**昵称*/
    private String nickname;
    /**  密码*/
    private String password;
    /**  手机号*/
    private String phoneNumber;
    /**  微信账号*/
    private String wechatAccount;
    /**  微信昵称*/
    private String wechatNickname;
    /**  性别*/
    private String gender;
    /**  城市*/
    private String city;
    /**  省*/
    private String province;
    /**  用户的唯一标识*/
    private String userUniqueId;
    /**  创建时间*/
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    /**  用户头像*/
    private String imgUrl;
    /**验证码*/
    private String captcha;


}
